package com.hucheng.common.constant;

/**
 * @Author: 凉白开不加冰
 * @Version: 0.0.1V
 * @Date: 2019-06-19
 * @Description: redis
 **/
public class RedisConstant {

    //用户会话
    public static final String HSET_USER_SESSION_KEY = "user:session:key:";

    //秒杀商品库存信息
    public static final String SECKILL_GOODS_KEY = "seckill:goods:";

    //用户秒杀订单预存
    public static final String SECKILL_ORDER_KEY = "seckill:order:";

    //商品秒杀是否结束
    public static final String SECKILL_GOODS_STATUS="seckill:goods:status:";

    //秒杀用户分布式锁
    public static final String SECKILL_USER_LOCK = "seckill:user:lock:";

    //抽奖活动
    public static final String LUCK_PRIZE_KEY = "luck:prize:";

    //兑换活动
    public static final String EXCHANGE_PRIZE_KEY = "exchange:prize:";

    //结算信息缓存
    public static final String BALANCE_ORDER_KEY = "balance:order:";

}
